#—*— codeing = utf-8 —*—
#@Time : 2022/9/15 14:16
#@Author :计科1813 38 和泽妮
#@File : 4.4.py
#@Software : PyCharm
with open("a.txt",encoding="utf_8") as file:
    data = file.read()
    print(data)
with open("hezeni.txt", "w", encoding="utf_8") as file:
    file.write("1---with添加语句\n")
    file.write("2---with添加语句\n")
with open("hezeni.txt", encoding="utf_8") as file:
     content = file.read()
     print(content)